<%@ page pageEncoding="utf-8" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<html>

<head>
<base href="<%=basePath%>"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<script src="js/login.js"></script>
<title>人事资源管理系统-登录</title>
</head>

<body bgcolor="#333333">
<table id="table_1" width="740"  align="center" background="images/bg.jpg" border="0" cellpadding="40">
<tr>
	<td>
		<table id="table_2" width="700"  align="center"  bgcolor="#FFFFFF" border="0" >
			<tr>
				<td colspan="2" align="right">
					<a class="a_top" href="login.jsp">首页</a>&nbsp;
					<a class="a_top" href="#">关于</a>&nbsp;&nbsp;
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<img src="images/top.png" width="700"/>
				</td>
			</tr>
			<tr>
				<td >
				<form id="form_login" action="Login" method="post">
				<table width="160" border="0">
					  <tr>
						<td width="50" ><span class="span_text">账号:</span></td>
						<td width="110" ><input id="l_name" name="lname" type="text" style="width:110px"/></td>
					  </tr>
					  <tr>
						<td><span class="span_text">密码:</span></td>
						<td><input id="l_pwd"  name="lpwd" type="password" style="width:110px" /></td>
					  </tr>
					   <tr>
					    <td><input id="auto_login"  name="autologin" value="true" type="checkbox"/></td>
						<td><span class="span_text">两周内自动登录</span></td>		
					  </tr>
					  <tr>
						<td>&nbsp;</td>
						<td><input  class="button" name="" type="submit" value="登录" onclick="return valid()"/>&nbsp;&nbsp;&nbsp;<input class="button" name="" type="reset" value="重置"/></td>
					  </tr>
					</table>
					</form>
				</td>
				<td>
					<div id="div_main" >
					<font color="#003333" face="微软雅黑" size="3">欢迎进入人事工资源管理系统!</font><br />	
					<span><font color="red">${err }</font></span>
					<% session.removeAttribute("err"); %>
					</div>
				</td>
			</tr>
			<tr>
				<td>
				<hr />
				<p class="p_top" align="left">联系方式：</p>
				<span class="span_text">电话：</span><br />
				<span class="span_text">地址：</span><br />
				<span class="span_text">E-mail：</span>
				</td>
				<td>
				&nbsp;
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<hr color="#CCCCCC" size="5"/>
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center">
				<font color="#999999" size="2" face="微软雅黑">Copyright:东软睿道教育信息技术有限公司</font><br /><br />
				</td>
			</tr>
		</table><!--for table_2-->
	</td>
</tr>
</table><!--for table_1-->
</body>
</html>
